package com.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.servers.CakeServers;

@Controller
public class AfterCakeController {
	@Autowired
	private CakeServers cakeServers;
	//关于我们
	@RequestMapping("/aboutUs")
	public String aboutUs() {
		System.out.println("进入到关于我们");
		return "aboutUs";	
	}
	//帮助中心
	@RequestMapping("/helpCenter")
	public String helpCenter() {
		System.out.println("欢迎来到帮助中心");
		return "helpCenter";
		
	}
	//售后服务
	@RequestMapping("/afterService")
	public String  afterService() {
		System.out.println("这里是售后服务");
		return "afterService";	
	}
	public CakeServers getCakeServers() {
		return cakeServers;
	}
	public void setCakeServers(CakeServers cakeServers) {
		this.cakeServers = cakeServers;
	}
	
}
